package com.lanou3g.ptp.signInDate.mapper;

import com.lanou3g.ptp.entity.SignInDate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface SignInDateMapper {

    List<SignInDate> findAll();

    SignInDate findById(Long id);

    void inserts (ArrayList<SignInDate> signInDates);

    void insert(SignInDate signInDate);

    void delete(Long id);

    void deletes(Long[] ids);

    void update(@Param("id") Long id,@Param("s") SignInDate signInDate);

    void deleteByTaskId(Long taskId);

    List<SignInDate> findSignTime(Long taskId);

    void deletesByTaskIds(Long[] ids);
}
